﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace d1Project.Modules.Business.doXZ.Domain
{
    /// <summary>
    /// 简单算法
    /// </summary>
    public class XZ_Jbsf
    {
        private static XZ_Jbsf singleInstance = new XZ_Jbsf();
        public static XZ_Jbsf Instance
        {
            get
            {
                return singleInstance;
            }
        }
        /// <summary>
        /// 求一个数的幂
        /// </summary>
        /// <param name="i">传入的底数</param>
        /// <param name="j">传入的底数的次方(可以是正整数，也可以是负整数,也可以是分数)</param>
        /// <returns></returns>
        public double Power(double i, double j)
        {
            double result = 0;
            result = Math.Pow(i, j);
            return result;
        }
    }
}